package com.winit.schedule.job.tracker.event;

import com.winit.schedule.core.event.AbstractEvent;

public class ClusterEvent extends AbstractEvent<ClusterEventType> {

    boolean isMaster;

    public ClusterEvent(ClusterEventType type, boolean isMaster){
        super(type);
        this.isMaster = isMaster;
    }

    public boolean isMaster() {
        return isMaster;
    }

}
